<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/12/7
 * Time: 18:30
 */

namespace Test\Controller;
use Jsq\Model\FaultModel;
use Jsq\Model\HistoryModel;
use Jsq\Model\ListModel;
use Weixin\Controller\TestController;

class TestDbController extends TestController {

    public function index(){

        //$model = M()->db(1,"mysql://root:zwjt1234@121.43.117.107:3306/jsqdb");

        //$model = new HistoryModel();
        //$model = new ListModel();
        $model = new FaultModel();

        $result = $model->select();

        dump($result);
    }

}